﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Net;
using System.Net.Sockets;
using ircCommunication;

namespace ircBot
{

    class Program
    {

        static void Main(string[] args)
        {

            ircBot bot = new ircBot();
                        
            bot.setup();

            if (!bot.connect()) return;

            while (bot.run)
            {

                bot.communicate();

            }

            bot.disconnect();

        }
    
    }
}
